home *** CD-ROM | disk | FTP | other *** search
- Subject: gdb-friendly tfork
- Date: Sun, 20 Mar 94 18:37:14 CET
- From: Juergen Lock <nox@jelal.north.de>
- Message-Id: <9403201737.AA00576@jelal.north.de>
-
- patch this and gdb is no longer confused when you attach to tfork childs...
-
- Index: thread.c
- @@ -72,6 +72,15 @@
- #ifdef __MBASE__
- fixmbasep((long) (b->p_bbase));
- #endif /* __MBASE__ */
- +#if 1
- + /* copy from parents basepage for debuggers... */
- + b->p_tbase = _base->p_tbase;
- + b->p_tlen = _base->p_tlen;
- + b->p_dbase = _base->p_dbase;
- + b->p_dlen = _base->p_dlen;
- + b->p_bbase = _base->p_bbase;
- + b->p_blen = _base->p_blen;
- +#endif
- Pterm((*func)(arg));
- }
-
- --
- J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
- ...ohne Gewehr
- PGP public key fingerprint = 8A 18 58 54 03 7B FC 12 1F 8B 63 C7 19 27 CF DA
-